JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

Ajax

Ajax is a short name given to the way in which JavaScript can communicate with the server. By using Ajax you can update the web page with information from the server without needing to reload the page.

Working With Ajax

JavaScript Spotlight10

Stephen's JavaScript Blog

Buy Now Hover Button

Saturday July 11, 2009
You don't have to pay for JavaScript code, there is always a free version around somewhere

One script that seems to be a popular item for internet marketers to try to sell to other internet marketers is one that will create a hovering "Buy Now" box that stays visible on the screen while the person reads their compelling content that convinces them that they need to buy whatever is being sold. When they decide to buy the button to do so is right there. Well my script here doesn't have quite as many bells and whistles as that script but you can easily modify this script to do everything that theirs can do and more without having to buy anything.

Buy Now Hover Button

valueOf and toString

Friday July 10, 2009
There are two methods that all JavaScript objects have.

Every object that you define in JavaScript has at least two methods available - valueOf() and toString(). These methods will return a variable that contains the value of the object or a string equivalent of the object. In most cases these are exactly the same but there are a few object types where they are not.

valueOf and toString

Linking Three Dropdowns

Thursday July 9, 2009
Dynamically update dropdown lists based on other dropdowns using JavaScript

Updating a second dropdown's content based on a user selection in a first dropdown is a common requirement. Of course having figured out how to do that everyone then wants to know how to extend that functionality to update a third dropdown based on the selection in the second one. Here's how to amend the code from my dynamic dropdown script to add a third dropdown. The same principal can of course then be applied in order to add even more dropdowns if required.

Linking Three Dropdowns

Speed of Movement

Wednesday July 8, 2009
JavaScript can control how fast things move on your web page.

Depending on just what it is that you want to have moving around on your web page you may want it moving fast or slow. You may even have several things moving around that you want to have move at different speeds. In the tenth tutorial on animation we look at how you can easily alter the speed at which an object moves using JavaScript.

Discuss

Community Forum

Explore JavaScript

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.